<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="content-type" content="text/html;charset=utf-8" />
  <!-- <link
      rel="stylesheet"
      type="text/css"
      href="@/public/html/player/player.css"
    /> -->
    <style>
      
      body {
width: 100%;
text-align: center;
background: url('@/public/img/player/player.jpg');
background-size: 100% 100%;
}

.header {
  display: flex;
  top: 50px;
}

.card_box {
  margin: 30px 30px 30px 30px;
  width: 740px;
  display: flex;
  flex-wrap: nowrap;
  background: rgb(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.user_top_left {
  text-align: center;
  margin-top: 30px;
}

.user_top_right {
  float: right;
  text-align: left;
  margin-top:30px;
  margin-right: 30px;
  border-radius: 30px;
  backdrop-filter: blur(40px);
}

.user_top_img_bottom {
  margin: auto;
  background-image: url('../../img/player/user_state.png');
  background-size: 100% auto;
  width: 280px;
  height: 280px;
}

.user_top_img {
  margin-top: 52px;
  margin-left: 2px;
  width: 172px;
  height: 172px;
  border-radius: 100px;
}

.user_top_font_left {
  position: inherit;
  margin: 9px;
  width: 260px;
  padding: 10px;
  font-weight: 700;
  font-size: 32px;
  font-family: 'NZBZ';
  background: #ab9879cc;
  color: #ffd400;
  border-style: dashed;
  border-radius: 20px;
}

.user_top_font_right {
  text-align: left;
  margin: 20px 20px 30; /* 上边距为15px，左右边距为15px，下边距为0 */
  padding: 15px;
  font-size: 20px;
  width: 500px;/* <!-- 宽度 --> */
  height: 20px;
  font-weight: 600;
  font-family: 'tttgbnumber';
  color: #000;
  padding-left: 20px;
  display: flex;
  flex-wrap: nowrap;
}

.user_top_left_dh {
  font-family: 'NZBZ';
  background-color: rgba(19, 21, 22, 0.486);
  margin: 9px;
  border-radius: 20px;
  color: azure;
  margin-left: 13px;
  width: 240px;
  height: 40px;
  padding: 5px;
  font-size: 35px;
  text-align: center;
  box-shadow: 3px 2px 3px #ccc;
}

.use_data {
  margin: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 740px;
}

.use_data2 {
  margin: 20px;
  padding-top: 20px;
  padding-bottom: 10px;
  width: 800px;
}

.user_font {
  text-align: left;
  margin: 9px;
  font-size: 22px;
  padding: 15px;
  font-weight: 600;
  font-family: 'tttgbnumber';
  border-radius: 20px;
  color: #000;
}

.user_font_title {
  text-align: center;
  padding-left: 0px;
  font-size: 30px;
}

.gonfa {
  display: flex;
  flex-wrap: wrap;
}

.gonfa2 {
  display: flex;
  flex-grow: 2;
  width: 33.33%;
  box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
}

.jichu {
  display: block;
  flex-grow: 2;
  width: 50%;
  height: 80%;
  font-weight: 600;
}

.user_bottom1 {
  border-radius: 20px;
  width: 90%;
  margin: auto;
  background-image: radial-gradient(rgb(249, 249, 249), rgb(255, 255, 255));
}

.user_bottom2 {
  border-radius: 20px;
  width: 90%;
  margin: auto;
  height: 20px;
}

.xuetiao {
  white-space: nowrap;
  border-radius: 10px;
  background-color: rgb(6, 6, 7, 0.55);
}

.xueliang {
  border-radius: 10px;
  background-color: #0053ffff;
}

.font_volume {
  text-align: center;
  font-family: 'NZBZ';
  font-size: 16px;
  font-weight: 400;
  color: aliceblue;
}

.font_volume_max {
  font-size: 22px;
}

.card_box {
  margin: 20px auto 20px auto;
  width: 740px;
  display: flex;
  flex-wrap: nowrap;
  background: radial-gradient(at top left, #ffffff10, #d7edea10);
  border-top: 1px solid #ffcc80;
  border-left: 1px solid #ffcc80;
  border-right: 1px solid #bb8020;
  border-bottom: 1px solid #bb8020;
  box-shadow: 1px 2px 6px rgba(170, 31, 0, 0.2), 3px 8px 12px rgba(71, 35, 22, 0.3);
  z-index: 999;
  border-radius: 20px;
  margin-bottom: 20px;
}

.card_box2 {
  margin: 20px auto 20px auto;
  width: 800px;
  display: flex;
  flex-wrap: nowrap;
  background: radial-gradient(at top left, #ffffff10, #d7edea10);
  border-top: 1px solid #ffcc80;
  border-left: 1px solid #ffcc80;
  border-right: 1px solid #bb8020;
  border-bottom: 1px solid #bb8020;
  box-shadow: 1px 2px 6px rgba(170, 31, 0, 0.2), 3px 8px 12px rgba(71, 35, 22, 0.3);
  z-index: 999;
  border-radius: 20px;
}

.wupin {
  display: flex;
  flex-wrap: wrap;
}

.item {
  margin: 10px;
  padding: 10px;
  flex-grow: 2;
  width: 135px;
  opacity: 0.95;
  background: #ffcc4d80;
  border-top: 1px solid #395b39a3;
  border-left: 1px solid #1c6d3cb3;
  border-right: 1px solid #1c6d3cb3;
  border-bottom: 1px solid #1c6d3cb3;
  box-shadow: 1px 2px 6px #1c6d3cb3, 3px 8px 12px #b7b7b7d1;
  z-index: 999;
  border-radius: 5px;
  margin-top: 20px;
}

.item_title {
  display: block;
  text-align: center;
  font-family: 'tttgbnumber';
  font-size: 20px;
  font-weight: 600;
  color: #000000;
}

.item_title2 {
  display: block;
  text-align: center;
  font-family: 'tttgbnumber';
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  height: 50px;
}

.item_title3 {
  display: block;
  text-align: center;
  font-family: 'tttgbnumber';
  font-size: 20px;
  font-weight: 600;
  line-height: 200px;
  color: #000000;
}

.item_int {
  display: block;
  font-family: 'tttgbnumber';
  font-size: 16px;
  font-weight: 500;
  color: #393535;
}

.item_int2 {
  display: block;
  font-family: 'tttgbnumber';
  font-size: 16px;
  font-weight: 500;
  color: #393535;
  margin-left: 5px;
}

.blood_box {
  width: 280px;
  height: 100%;
  background-color: rgb(6, 6, 7, 0.55);
  border-radius: 14px;
  box-shadow: 0 8px 32px 0 rgb(43, 45, 59, 0.36);
}

.blood_bar {
  position: relative;
  width: 30%;
  height: 100%;
  background-color: rgb(217, 36, 31, 0.66);
  border-radius: 14px;
}


.blood_volume {
  position: relative;
  top: -28px;
  text-align: center;
  width: 300px;
  height: 100%;
  font-weight: 500;
  font-family: 'NZBZ';
  font-size: 20px;
  color: aliceblue;
}

.font_left {
  text-align: left;
}

    </style>
</head>
<body>
  <div>
    <div class="header"></div>
    <div class="card_box">
      <div class="user_top_left">
        <div class="user_top_img_bottom">
          <img class="user_top_img" src="" onerror="whenError(this)" />
        </div>
      </div>
      <div class="user_top_right">
        <div class="user_top_font_right">道号：{{player.名号}}</div>
        <div class="user_top_font_right">uid：{{player.uid}}</div>
        <div class="user_top_font_right">性别：{{player.性别}}</div>
        <div class="user_top_font_right">
          生命：
          <div class="blood_box">
            <div class="blood_bar" {{strand_hp.style}}></div>
            <div class="blood_volume">
              {{(player.当前血量).toFixed(0)}}/{{(player.血量上限).toFixed(0)}}
            </div>
          </div>
        </div>
        <div class="user_top_font_right">下级灵石：{{player.货币.下级灵石}}</div>
        <div class="user_top_font_right">中级灵石：{{player.货币.中级灵石}}</div>
        <div class="user_top_font_right">高级灵石：{{player.货币.高级灵石}}</div>
        <div class="user_top_font_right">极品灵石：{{player.货币.极品灵石}}</div>
        <div class="user_top_font_right">生辰八字：{{player.生辰八字}}</div>
        <div class="user_top_font_right">创建存档时间：{{player.创建存档时间}}</div>
        <div class="user_top_font_right">宣言：{{player.道宣}}</div>
      </div>
    </div>
    <div class="card_box">
      <div class="use_data">
        <div class="user_font user_font_title">[基础信息]</div>
        <div class="user_font wupin">
          <div class="item">
            <div class="item_title font_left">攻击：{{player.攻击加成}}</div>
            <div class="item_title font_left">防御：{{player.防御加成}}</div>
            <div class="item_title font_left">暴伤：{{player.爆伤加成}}</div>
            <div class="item_title font_left">
              暴击：{{(player.暴击加成 * 100).toFixed(0)}}%
            </div>
          </div>
          <div class="item">
            <div class="item_title font_left">生命：{{player.血量上限}}</div>
            <div class="item_title font_left">修炼加成：{{player.修炼效率}}</div>
          </div>
        </div>
        <div class="user_font wupin">
          <div class="item">
            <div class="item_title font_left">
              {{rank_wuzhe}}{{if player.灵气 >= expmax_wuzhe}}{{/if}}
            </div>
            <div class="item_int">
              <div class="xuetiao">
                <div class="xueliang font_volume" {{strand_wuzhe.style}}>
                  {{strand_wuzhe.num}}%
                </div>
              </div>
            </div>
            <div class="item_int">{{player.灵气}}/{{expmax_wuzhe}}</div>
          </div>
          <div class="item">
            <div class="item_title font_left">
              {{rank_tipo}}{{if player.血气 >= expmax_tipo}}{{/if}}
            </div>
            <div class="item_int">
              <div class="xuetiao">
                <div class="xueliang font_volume" {{strand_tipo.style}}>
                  {{strand_tipo.num}}%
                </div>
              </div>
            </div>
            <div class="item_int">{{player.血气}}/{{expmax_tipo}}</div>
          </div>
          <div class="item">
            <div class="item_title font_left">
              {{rank_hun}}{{if player.灵魂力量 >= expmax_hun}}{{/if}}
            </div>
            <div class="item_int">
              <div class="xuetiao">
                <div class="xueliang font_volume" {{strand_hun.style}}>
                  {{strand_hun.num}}%
                </div>
              </div>
            </div>
            <div class="item_int">{{player.灵魂力量}}/{{expmax_hun}}</div>
          </div>
        </div>
        <div class="user_font wupin">
          <div class="item">
            <div class="item_title font_left">
              {{if player.灵根}}
              本命灵器：{{player.灵根.name}}【{{player.灵根.品级}}】<br />
              {{/if}}
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
 </body>
</html>
  
